<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter(); 
    $('.boton').button();
    
<?php $this->placeholder('onReady')->captureEnd() ?>

<?php
$style = <<<STYLE

STYLE;

$script = <<<SCRIPT

SCRIPT;

if($style)$this->headStyle()->appendStyle($style);
if($script)$this->headScript()->appendScript($script);
?>

<table id="<?= $this->id_tablesorter?>" width="100%" class=""> 
    <caption>
       <div id="total_table_filter" style="float: right;">Total <span class="filtradas"><?=count($this->rows)?></span></div>    
    </caption>
    <thead>
		<tr>
			<th><?php echo $this->translate('PEP');?></th> 
    		<th><?php echo $this->translate('Proyecto');?></th> 
            <th><?php echo $this->translate('Sala');?></th>
            <th><?php echo $this->translate('Plano');?></th>
            <th><?php echo $this->translate('CC');?></th>
            <th><?php echo $this->translate('Tipo Disponibilidad');?></th>
            <th><?php echo $this->translate('Superficie Contratada');?>m<sup>2</sup></th> 
            <th><?php echo $this->translate('Potencia Contratada');?> W</th> 
            <th><?php echo $this->translate('Potencia Contratada');?> W/m<sup>2</sup></th> 
    		<th><?php echo $this->translate('Potencia Comprometida');?> W</th> 
            <th><?php echo $this->translate('Potencia Comprometida');?> W/m<sup>2</sup></th> 
            <th><?php echo $this->translate('Potencia Demandada');?> W</th> 
            <th><?php echo $this->translate('Potencia Demandada');?> W/m<sup>2</sup> </th> 
            <th><?php echo $this->translate('% uso potencia Contratada');?></th> 
    	</tr>
    </thead>
    <tbody>
        <?php echo $this->partialLoop($this->controllerName.'/filainforme.phtml', (array)$this->rows); ?>	
    </tbody>
</table>

